package com.bo.threadState;

/**
 * @Author: gpb
 * @Date: 2024/7/13 22:30
 * @Description:
 */
public class RUNNABLE {
    public static void main(String[] args) throws InterruptedException {
        Thread thread = new Thread(()->{while (true);});
        thread.start();
        Thread.sleep(500);
        System.out.println(thread.getState());
    }
}
